# import pupil_apriltags
# import realsense
# import cv2
#
# if __name__ == "__main__":
#     camera = realsense.RealSenseCamera('d435')
#     detector = pupil_apriltags.Detector(families='tag25h9')
#     while True:
#         color_image,depth_image=camera.get_frame()
#         # 显示图像
#         cv2.imshow('Color', color_image)
#         key = cv2.waitKey(1)
#         if key == 27:
#             print(f"程序终止")
#             break
import os
import ctypes

# 添加DLL所在目录到系统路径
dll_path = r"C:\Users\82605\.conda\envs\torch\lib\site-packages\pupil_apriltags\lib"
os.add_dll_directory(dll_path)

from pupil_apriltags import Detector
detector = Detector(families='tag25h9')